import request from '@/utils/request'

// 查询部个人教育经历
export function listexperience(query) {
  return request({
    url: '/system/experience/list',
    method: 'get',
    params: query
  })
}

// 查询部门详细
export function getExperience(experienceId) {
  return request({
    url: '/system/experience/' + experienceId,
    method: 'get'
  })
}



// 新增部门
export function addExperience(data) {
  return request({
    url: '/system/experience',
    method: 'post',
    data: data
  })
}

// 修改部门
export function updatEexperience(data) {
  return request({
    url: '/system/experience',
    method: 'put',
    data: data
  })
}

// 删除部门
export function delExperience(experienceId) {
  return request({
    url: '/system/experience/' + experienceId,
    method: 'delete'
  })
}
